//
//  FreehandTool.h
//  iPadDev01
//
//  Created by smu on 11-7-29.
//  Copyright 2011年 duk. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Tool.h"

@interface FreehandTool : NSObject <Tool> {
    id <ToolDelegate> delegate;
    UIBezierPath *workingPath;
    CGPoint nextSegmentPoint1;
    CGPoint nextSegmentPoint2;
    CGPoint nextSegmentCp1;
    CGPoint nextSegmentCp2;
    BOOL isDragging;
    BOOL settingFirstPoint;
}

@property (retain, nonatomic) UIBezierPath *workingPath;
+ (FreehandTool *)sharedFreehandTool;

@end
